/*******************************************************************************
 * Copyright (c) 2006 CEA List.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     CEA List - initial API and implementation
 *******************************************************************************/
package com.cea.papyrus.diagram.composite.preference;

import org.eclipse.jface.preference.FieldEditorPreferencePage;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;

import com.cea.papyrus.core.utils.Debug;
import com.cea.papyrus.diagram.composite.Activator;

/**
 * Preference page for Composite Diagram
 */
public class CompositeDiagramPreferencePage extends FieldEditorPreferencePage
	implements IWorkbenchPreferencePage {

	/** debug channel */
	private static final int channel = 205;

	/**
	 * Creates a new CompositeDiagramPreferencePage.
	 */
	public CompositeDiagramPreferencePage() {
		super(GRID);
		setPreferenceStore(Activator.getDefault().getPreferenceStore());
		setDescription("Composite Diagram Preferences");
	}
	
	/* (non-Javadoc)
	 * @see org.eclipse.jface.preference.FieldEditorPreferencePage#createFieldEditors()
	 */
	@Override
	public void createFieldEditors() {
		Debug.debug(this,"createFieldEditors()", channel);
	}

	/* (non-Javadoc)
	 * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
	 */
	public void init(IWorkbench workbench) {
		//do nothing
	}
	
}
